<?php
/**
 * @Notes:【】
 * @Date: 2022-06-03 1:30
 */

namespace Yj\Generator\Core\Dao\Template\Traits;

use Yj\Generator\Core\Common\Template\UsesTemplate;

trait UsesTrait
{
    protected $uses = [];

    /**
     * @return array
     */
    public function getUses(): array
    {
        return $this->uses;
    }

    public function addUses(UsesTemplate $use)
    {
        $this->uses[] = $use;
        return $this;
    }

}